package com.cn.kabalifemerchants.ui.login;

import android.content.Context;

import com.cn.kabalifemerchants.ui.login.bean.AgreementBean;
import com.cn.kabalifemerchants.ui.login.bean.LoginBean;
import com.cn.kabalifemerchants.ui.login.bean.MsgBean;
import com.cn.kabalifemerchants.ui.login.bean.RegisterBean;
import com.cn.kabalifemerchants.ui.user.bean.MyUserInfoBean;


/**
 * Created by 晓林 on 2020/9/2.
 * function:
 */
public interface LoginView {

    void onReLoggedIn(String msg);

    void onError(String msg);

    Context _getContext();

    void onPhoneCodeSuccess(MsgBean bean);

    void onLoginSuccess(LoginBean bean);

    void onRegisterSuccess(RegisterBean bean);
    void onUserInfoSuccess(MyUserInfoBean bean);
    void onAgreementSuccess(AgreementBean bean);

}
